package visu.feign.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


import java.util.Map;

/**
 * Created by 程振奇 on 2017/8/3.
 */
@FeignClient("visu-hello")
public interface UserClient {
    @GetMapping("add")
    Integer add(@RequestParam(value = "a") Integer a, @RequestParam(value = "b") Integer b);

}
